package com.example.service.impl;

import com.pojo.dto.SetmealDTO;
import com.pojo.entity.Setmeal;
import com.example.mapper.SetmealMapper;
import com.example.service.ISetmealService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 套餐 服务实现类
 * </p>
 *
 * @author ccz
 * @since 2025-07-19
 */
@Service
public class SetmealServiceImpl extends ServiceImpl<SetmealMapper, Setmeal> implements ISetmealService {

    @Override
    public List<SetmealDTO> getSetmealWithCategory(String name) {
        return baseMapper.getSetmealWithCategory(name);
    }
}
